package com.base.www.annotation;

/**
 * Created by wangyang on 2017/7/31.
 */
public class Sample2 {
    @ExceptionTestAnnotation(ArithmeticException.class)
    public static void m1(){
        int i = 0;
        i = i/i;
    }
    @ExceptionTestAnnotation(ArithmeticException.class)
    public static void m2(){
        int[] a = new int[0];
        a[1] = 1;
    }
    @ExceptionTestAnnotation(ArithmeticException.class)
    public static void m3(){}
}
